{php include pubTemplate("header")}

<div class="container">



    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="{SITE_URL}">首页</a></li>
            <li class="breadcrumb-item"><a href="{tsUrl('photo')}">{$TS_APP['appname']}</a></li>
            <li class="breadcrumb-item"><a href="{tsUrl('photo','album',array('id'=>$strAlbum['albumid']))}">{$strAlbum['albumname']}</a></li>
            <li class="breadcrumb-item active" aria-current="page">修改相册</li>
        </ol>
    </nav>


    <div class="card">
        <div class="card-body">







<div class="row">

    <div class="col-md-3"></div>
    <div class="col-md-6">

        <form role="form" method="POST" action="{tsUrl('photo','album',array('ts'=>'editdo'))}">
            <div class="form-group">
                <label>相册名称（必填）</label>
                <input type="text" name="albumname" value="{$strAlbum['albumname']}" class="form-control" >
            </div>

            <div class="form-group">
                <label>相册介绍：</label>
                <textarea class="form-control" rows="3" name="albumdesc">{$strAlbum['albumdesc']}</textarea>
            </div>


            <input type="hidden" name="albumid" value="{$strAlbum['albumid']}" />

            <input type="hidden" name="token" value="{$_SESSION['token']}" />
            <button class="btn btn-sm btn-info" type="submit">修改相册</button>
            <a class="btn btn-sm text-black-50" href="{tsUrl('photo','album',array('id'=>$strAlbum['albumid']))}">返回相册</a>
        </form>


    </div>
    <div class="col-md-3"></div>

</div>






</div>

</div>

</div>
</div>

{php include pubTemplate("footer")}